#ifndef MESHCACHE_H
#define MESHCACHE_H

#include <map>
#include <string>
#include "mesh.h"
#include "Singleton.h"

using namespace std;

class MeshCache: public Singleton<MeshCache>{
private:
	map<string, Mesh *> MeshMap;
	//friend class Singleton<MeshCache>;
public:
	Mesh * getMesh(string filepath);
};

#endif